const packageName = require('./package.json').name;

module.exports = {
devServer: {
    port: 10000,
    headers: {
        'Access-Control-Allow-Origin': '*'
    }
},
  output: {
    library: `${packageName}-[name]`,
    libraryTarget: 'umd',
    jsonpFunction: `webpackJsonp_${packageName}`,
  },
};
